package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;

/**
 * 重新入职
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "重新入职")
@Data
public class EmpOnJobUpdateDTO extends BaseDTO {

    @ApiModelProperty(notes = "员工id", required = true)
    @NotNull(message = "员工id不能为空")
    private String empId;

    @ApiModelProperty(notes = "审批模板id")
    private String flowId;
}
